package com.ynny.mapper;

import com.ynny.entity.Users;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    int updatePassword(@Param("number") String number, @Param("password") String password);

    /**
     * 根据身份查询用户记录
     */
    Users selectUserByIdentity(String identity);

    /**
     * 根据账号删除用户记录
     */
    int deleteUserByNunber(String number);

}